package com.baozun.dev.payment;

/**
 * Created by joker.wang on 2017/8/15.
 */

public class PaymentStrategy {

    private Payment payment;

    public  PaymentStrategy() {
    }

    public PaymentStrategy(Payment payment) {
        this.payment = payment;
    }

    public void setPayment(Payment payment) {
        this.payment = payment;
    }

    public void doPayment() {
        payment.payment();
    }
}
